// import { url } from 'stylus';
import create from '../utils/request';
//获取月份
export function months(params){
    return create({
        url:"bank_card/bill_first",
        method:"get",
        params:params
    })
}
//总资产
export function totalAssets(params){
    return create ({
        url:"bank_card/bill_second",
        method:"get",
        params:params
    })
}
//收入
export function income(params){
    return create ({
        url:"bank_card/bill_income",
        method:"get",
        params:params
    })
}
//总支出
export function expend(params){
    return create ({
        url:"transfer_flow/Monthlystatement",
        method:"get",
        params:params
    })
}
//上月支出
export function upexpend(params){
    return create ({
        url:"transfer_flow/Lastmontsbill",
        mathod:"get",
        params:params
    })
}
//上月余额
export function Lastmonthsbalance(params){
    return create ({
        url:"transfer_flow/Lastmonthsbalance",
        mathod:"get",
        params:params
    })
}
//排行榜
export function rankinglist(params){
    return create ({
        url:"transfer_flow/rankinglist",
        mathod:"get",
        params:params
    })
}